package cn.lyh;


import cn.lyh.domain.Order;
import cn.lyh.service.IOrderService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;
import java.math.BigDecimal;

@SpringBootTest
public class OrderService2021 {
    @Resource
    private IOrderService orderService;
    @Test
    public void test1(){
        Order order = new Order(null,new Long(1),new Long(1),1,new BigDecimal(100),0);
        orderService.save(order);
    }
}
